<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="layout :: htmlhead" th:with="title='社团信息'"></head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header"></div>
    <div class="layui-body" style="margin: 1%">
        <div class="layui-tab layui-tab-brief">
            <ul class="layui-tab-title">
                <li id="assoListLi" class="layui-this">社团信息</li>
                <!--<li id="userListLi">普通用户</li>-->
            </ul>
            <div class="layui-tab-content">
                <div id="assoListDiv" class="layui-tab-item layui-show">
                    <div th:include="asso/assoList :: assoList" style="margin: 1%"></div>
                </div>
                <!--<div id="userListDiv" class="layui-tab-item">-->
                <!--<div th:include="user/userList :: userList" style="margin: 1%"></div>-->
                <!--</div>-->
            </div>
        </div>
    </div>
    <!--添加或编辑用户-->
    <div id="addAsso" class="layer_self_wrap" style="width:500px;display:none;">
        <form id="addAssoForm" class="layui-form layui-form-pane" method="post" action="" style="margin-top: 20px;">
            <div class="layui-form-item">
                <label class="layui-form-label">社团名称</label>
                <div class="layui-input-inline">
                    <input id="name" name="name" lay-verify="required" autocomplete="off" class="layui-input" type="text"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">社团编号</label>
                <div class="layui-input-inline">
                    <input id="no" name="no" lay-verify="required" autocomplete="off" class="layui-input" type="text" onkeyup="this.value=this.value.replace(/\D/g,'')"
                           onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                    <input id="password" name="password" autocomplete="off" class="layui-input" value="123456" type="password" placeholder="默认密码：123456" />
                </div>
                <div class="layui-form-mid layui-word-aux">请填写6位以上的密码</div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">学校编号</label>
                <div class="layui-input-inline">
                    <input id="schoolNo" name="schoolNo" lay-verify="required" autocomplete="off" class="layui-input" type="text" onkeyup="this.value=this.value.replace(/\D/g,'')"
                           onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">学院号</label>
                <div class="layui-input-inline">
                    <input id="collegeNo" name="collegeNo" lay-verify="required" autocomplete="off" class="layui-input" type="text" onkeyup="this.value=this.value.replace(/\D/g,'')"
                           onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">简介</label>
                <div class="layui-input-inline">
                    <input id="profile" name="profile" lay-verify="required" autocomplete="off" class="layui-input" type="text"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">社团类型</label>
                <div class="layui-input-inline">
                    <input id="assoType" name="assoType" lay-verify="required" autocomplete="off" class="layui-input" type="text"/>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block" style="margin-left: 10px;">
                    <button class="layui-btn"  lay-submit="" lay-filter="assoSubmit">提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
    <script src="/js/asso/assoInfo.js"></script>
</div>
</body>
</html>